<?php 
class Tea
{
	var $para;
	function Tea($para){
	  $this->para=$para;
	}
	function setVar($a,$unuse=array()){
	  foreach($a as $k=>$v)
	    $this->$k=$v;
		foreach($unuse as $uu)
		  unset($this->$uu);
	}
	function begin(){
		return '<ul>';
	}
	function rowBegin($row){
	  return '<li>'.htmlspecialchars($row['name']);
	}
	function rowEnd($row){
	  return '</li>';
	}
	function end(){
	  return '</ul>';
	}
}
?>